package indi.zn.commons.tree;
/**
 * @Description: 
 * @author: 周楠
 * @date 2016年6月8日 上午11:01:50
 */

public class Tree<I,N extends TreeNode<I>> {

	 private N root;
	 
	 private Integer maxlevel;
	 
	 private Integer nodecount;

	public Tree(N root, Integer level) {
		super();
		this.root = root;
		this.maxlevel = level;
	}

	public N getRoot() {
		return root;
	}

	public void setRoot(N root) {
		this.root = root;
	}

	public Integer getMaxlevel() {
		return maxlevel;
	}

	public void setMaxlevel(Integer maxlevel) {
		this.maxlevel = maxlevel;
	}

	public Integer getNodecount() {
		return nodecount;
	}

	public void setNodecount(Integer nodecount) {
		this.nodecount = nodecount;
	}
	 
	 
	 
	 
	
}
